package com.crazyzoo.Jiuly;

public class Chicken {
    private String id;
    private String name;
    private String colour;
    private String ability;
    private String habitat;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getAbility() {
        return ability;
    }

    public void setAbility(String ability) {
        this.ability = ability;
    }

    public String getHabitat() {
        return habitat;
    }

    public void setHabitat(String habitat) {
        this.habitat = habitat;
    }

    @Override
    public String toString() {
        return  "-------------------------------------" + '\n' +
                "动物类名：Chicken" +'\n'+
                "动物id：" + id +'\n' +
                "动物名称：" + name + '\n' +
                "动物颜色：" + colour + '\n' +
                "动物能力：" + ability + '\n' +
                "动物栖息地：" + habitat + '\n' ;
    }
    public void relation(){
        System.out.println("关系：鸡大保的养子，父亲是鸡大飞，母亲是白鸽，所以它拥有飞行的能力");
    }
    public void economic(){
        System.out.println("经历：幼年被囚禁，父亲大飞为了让小飞不被吃掉努力习武但被打死，之后被鸡大保救出，并跟随与他");
    }
    public void other(){
        System.out.println("小飞鸡：”咯咯咯咯咯,咯~（我才是鸡中霸王，鸡霸~）”┗(╬｀o′)┛ ");
    }
}
